﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TXTD.Admin.Model.Modules.System
{
    public class SysMenuModel
    {
        /// <summary>
        /// 菜单id
        /// </summary>
        public string MenuId { get; set; }
        /// <summary>
        /// 父级菜单id
        /// </summary>
        public string? ParentMenuId { get; set; }
        /// <summary>
        /// 菜单name
        /// </summary>
        public string MenuName { get; set; }

        /// <summary>
        /// 菜单标题
        /// </summary>
        public string MenuTitle { get; set; }

        /// <summary>
        /// 菜单路径
        /// </summary>
        public string MenuPath { get; set; }

        /// <summary>
        /// 菜单类型
        /// </summary>
        public string MenuType { get; set; }

        /// <summary>
        /// 菜单排序
        /// </summary>
        public int MenuSort { get; set; } = 0;

        /// <summary>
        /// 组件路径
        /// </summary>
        public string ComponentPath { get; set; }

        /// <summary>
        /// 打开方式
        /// </summary>
        public string OpenWay { get; set; }

        /// <summary>
        /// 菜单权限
        /// </summary>
        public string menuPermissions { get; set; } = "";
        /// <summary>
        /// 子级菜单
        /// </summary>
        public List<SysMenuModel> Children { get; set; } = new List<SysMenuModel>();
    }
}
